package com.spring.datasource;

import java.util.HashMap;

public class HotelDataSourceFake {

	private HashMap<Long, HotelRESTInfo> map;
	public HotelDataSourceFake(){
		map = new HashMap<Long, HotelRESTInfo>();
		map.put(1l, new HotelRESTInfo(50));
		map.put(2l, new HotelRESTInfo(150));
		map.put(3l, new HotelRESTInfo(40));
		map.put(4l, new HotelRESTInfo(30));
		map.put(5l, new HotelRESTInfo(44));
		map.put(6l, new HotelRESTInfo(30));
		map.put(7l, new HotelRESTInfo(53));
		map.put(8l, new HotelRESTInfo(54));
		map.put(9l, new HotelRESTInfo(78));
		map.put(10l, new HotelRESTInfo(59));
		map.put(11l, new HotelRESTInfo(98));
		map.put(12l, new HotelRESTInfo(75));
		map.put(13l, new HotelRESTInfo(123));
		map.put(14l, new HotelRESTInfo(100));
		map.put(15l, new HotelRESTInfo(64));
	}
	
	public HotelRESTInfo getFakePlaceById(Long id){
		return map.get(id);
	}
}
